#!/bin/sh
###
 # @Author: zh
 # @Date: 2024-12-04 15:56:32
 # @LastEditors: zh
 # @LastEditTime: 2024-12-04 15:56:41
 # @Description: 
### 
command_exists () {
  command -v "$1" >/dev/null 2>&1
}

# Workaround for Windows 10, Git Bash and Yarn
if command_exists winpty && test -t 1; then
  exec < /dev/tty
fi
